package com.knife.hospital.mapper;

import com.knife.hospital.entity.CommonUserPO;
import com.knife.hospital.entity.UserPO;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface CommonUserPOMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CommonUserPO record);

    int insertSelective(CommonUserPO record);

    CommonUserPO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CommonUserPO record);

    int updateByPrimaryKey(CommonUserPO record);

    List<CommonUserPO> selectByName(@Param("name") String name);
}